package com.i2works.smartluolong.web.entity.company;

import com.i2works.smartluolong.utils.entity.BaseCommQuery;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 工商申请 - 基础信息类
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/3/14 16:33
 */

public class CompanyApplyQuery extends BaseCommQuery {
    private Integer id; //
    private String projectId; // 办件编号
    private Integer userId; // 申请人
    private String companyCode; // 统一社会信用代码
    private String companyType; // 公司类型
    private String companyName; // 公司名称
    private String companyBrand; // 公司字号
    private String companyBrandOptional; // 备选字号
    private String certType; // 营业执照类型
    private Integer receiveStatus; // 是否已领取执照（0未领取，1已领取）
    private Integer issueStatus; // 是否可打印签发（0未签发，1已签发）
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date foundingTime; // 成立时间（到工商局签字确认的时间）
    private Integer applyStatus; //申请状态（0未提交暂存；1待审核；2审核中；3审核拒绝被退回；4审核通过；8放弃作废)
    private Integer status; // 状态(1启用，0禁用）；默认值：1


    /**
     * 附加字段
     */
    private Integer roleId; // 审核人员角色ID
    private Integer auditorId; // 审核人员账号ID
    private String itemType; // 标记事项类型
    private List<Integer> applyStatusList; //申请状态列表


    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }

    public Integer getReceiveStatus() {
        return receiveStatus;
    }

    public void setReceiveStatus(Integer receiveStatus) {
        this.receiveStatus = receiveStatus;
    }

    public Integer getIssueStatus() {
        return issueStatus;
    }

    public void setIssueStatus(Integer issueStatus) {
        this.issueStatus = issueStatus;
    }

    public Date getFoundingTime() {
        return foundingTime;
    }

    public void setFoundingTime(Date foundingTime) {
        this.foundingTime = foundingTime;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public List<Integer> getApplyStatusList() {
        return applyStatusList;
    }

    public void setApplyStatusList(List<Integer> applyStatusList) {
        this.applyStatusList = applyStatusList;
    }

    public Integer getAuditorId() {
        return auditorId;
    }

    public void setAuditorId(Integer auditorId) {
        this.auditorId = auditorId;
    }

    public String getCompanyBrand() {
        return companyBrand;
    }

    public void setCompanyBrand(String companyBrand) {
        this.companyBrand = companyBrand;
    }

    public String getCompanyBrandOptional() {
        return companyBrandOptional;
    }

    public void setCompanyBrandOptional(String companyBrandOptional) {
        this.companyBrandOptional = companyBrandOptional;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Integer getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(Integer applyStatus) {
        this.applyStatus = applyStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
